<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="C" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../css/home.css">
    <script src="../js/jquery.js"></script>
    <link rel="stylesheet" href="../css/news.css">
</head>
<body>
<jsp:include page="top.jsp"></jsp:include>
<div class="news">
    <div class="news-nav">
        <div class="float-left">新闻动态</div>
        <div>
            <ul>
                <c:forEach items="${titleList}" var="titleList">
                    <a href="${titleList.href}">
                        <li>${titleList.title}</li>
                    </a>
                </c:forEach>
            </ul>
        </div>
    </div>
    <div class="news-content">
    <C:forEach items="${contentList}" var="contentList">
        <div>
            <a><a href="${contentList.net}"> ${contentList.content}</a></p>
            <span>${contentList.creatTime}</span>
        </div>
    </C:forEach>
    </div>
    <div class="news-next">
        <div>1</div>
        <div>2</div>
        <div>下一页&gt</div>
        <div>末页</div>
    </div>
</div>
<jsp:include page="foot.jsp"></jsp:include>
</body>
</html>
